package cn.itcast.nems.base.dao.entity;

import cn.itcast.nems.common.entity.UUIDEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 员工归属负责校区;注：通常为出纳负责
 * </p>
 * @author czq
 * @since 2024-02-28
 */
@TableName("e2_responsibility_campus")
@Getter
@Setter
public class ResponsibilityCampus extends UUIDEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工姓名
     */
    private String employeeName;

    /**
     * 员工邮箱
     */
    private String employeeEmail;

    /**
     * 员工工号
     */
    private String employeeJobNumber;

    /**
     * 默认校区ID
     */
    private String defaultCampusId;

    /**
     * 默认校区名称
     */
    private String defaultCampusName;

    /**
     * 状态;枚举值：启用｜ENABLE、禁用｜DISABLE
     */
    private String state;

    /**
     * 备注
     */
    private String remark;

    /**
     * 负责校区
     */
    @TableField(exist = false)
    private List<String> employeeCampuss;
    /**
     * 默认校区
     */
    @TableField(exist = false)
    private List<String> defaultCampuss;
    @TableField(exist = false)
    private String modifiedName;
    @TableField(exist = false)
    private String modifiedByName;

}
